package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 荣誉信息对象 t_honor_info
 * 
 * @author ruoyi
 * @date 2024-11-08
 */

public class THonorInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 数据ID */
    private Long id;

    /** 人才ID */
    @Excel(name = "人才ID")
    private Long talentId;

    /** 荣誉名称 */
    @Excel(name = "荣誉名称")
    private String honorName;

    /** 获奖时间 */
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardDate;

    /** 荣誉等级，10国家级，20省部级 */
    @Excel(name = "荣誉等级", dictType = "honor_level")
    private String honorLevel;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    /** 附件 */
    @Excel(name = "附件")
    private String attach;


    /** 状态，10正常，20停用 */
    @Excel(name = "状态", dictType = "status")
    private String status;

    /** 删除标识，true-已删除 */
    @Excel(name = "删除标识", dictType = "del_flag")
    private Integer delFlag;

    public Long getTalentId() {
        return talentId;
    }

    public void setTalentId(Long talentId) {
        this.talentId = talentId;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHonorName(String honorName) 
    {
        this.honorName = honorName;
    }

    public String getHonorName() 
    {
        return honorName;
    }
    public void setAwardDate(Date awardDate) 
    {
        this.awardDate = awardDate;
    }

    public Date getAwardDate() 
    {
        return awardDate;
    }
    public void setHonorLevel(String honorLevel) 
    {
        this.honorLevel = honorLevel;
    }

    public String getHonorLevel() 
    {
        return honorLevel;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("honorName", getHonorName())
            .append("awardDate", getAwardDate())
            .append("honorLevel", getHonorLevel())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
